home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: thor.cf.ac.uk!thor!san3mw
- From: wardle@cf.ac.uk (Mark Wardle)
- Subject: Re: Changing Gadtools Gadgets
- Sender: news@cf.ac.uk (USENET News System)
- Message-ID: <Dn1M8x.Gp3@cf.ac.uk>
- Date: Mon, 19 Feb 1996 21:55:45 GMT
- X-Nntp-Posting-Host: thor
- Reply-To: wardle@cf.ac.uk
- References: <50332724@river.prima.ruhr.de>
- Organization: University of Wales College of Cardiff, Cardiff, Wales, UK
- X-Newsreader: TIN [version 1.2 PL2]
-
- Gadtools gadgets cannot be changed once created. You create a list of
- gadgets and you must treat the list as one whole thing. You cannot access
- any gadgets within the list directly using standard intuition gadget calls.
-
- The only thing you can do to a gadtools gadget is to toggle the
- GA_Disabled flag as far as I can remember.
-
- If you want to have one gadget alone, which you can add and remove from a
- window, then you must create a seperate gadtools gadget list. A
- significant problem with this however is when you remove the gadget you
- always need to remove to the end of the list (read the gadtools docs).
- Therefore, really you can only add and remove one set of gadgets to a
- window, any more and you will run into problems. (Perhaps not on current
- versions... and depending on the gadget types).
-
- I just wish gadtools was an easy way of accessing standard BOOPSI
- gadgets, so people who want to setup nice GUIs can directly add BOOPSI
- gadgets to their windows etc... rather than trying to mess about with
- bloody gadtools.
-
- This is one of the things on my wishlist for OS4..
-
-
-
- Yours,
- Mark Wardle
-
-